package org.gdkm.springbootxiangmushizhan.service;

import org.gdkm.springbootxiangmushizhan.domain.vo.CategoryAdminVO;
import java.util.Date;
import java.util.List;

public interface ICategoryService {
    List<CategoryAdminVO> selectAllCategories();
    List<CategoryAdminVO> selectCategoriesByName(String name);
    void insertCategory(String name, String description, Date created, Date modified);
    void updateCategory(Integer id, String name, String description, Date modified);
    void deleteCategory(Integer id);
    CategoryAdminVO selectCategoryById(Integer id);
} 